import request from '@/utils/request'

// 查询教学评价题库列表
export function listAppraiseQue(query) {
  return request({
    url: '/edu/appraiseQue/list',
    method: 'get',
    params: query
  })
}

// 查询教学评价题库详细
export function getAppraiseQue(queId) {
  return request({
    url: '/edu/appraiseQue/' + queId,
    method: 'get'
  })
}

// 新增教学评价题库
export function addAppraiseQue(data) {
  return request({
    url: '/edu/appraiseQue',
    method: 'post',
    data: data
  })
}

// 修改教学评价题库
export function updateAppraiseQue(data) {
  return request({
    url: '/edu/appraiseQue',
    method: 'put',
    data: data
  })
}

// 删除教学评价题库
export function delAppraiseQue(queId) {
  return request({
    url: '/edu/appraiseQue/' + queId,
    method: 'delete'
  })
}

// 导出教学评价题库
export function exportAppraiseQue(query) {
  return request({
    url: '/edu/appraiseQue/export',
    method: 'get',
    params: query
  })
}